<?php
/** 
* @file main.php
* @brief 
* @author Henry.WU, henry.cpp@gmail.com
* @version 0.1
* @date 2010-02-25
 */

require_once( ROOT . 'module/module.php' );

class MainModule extends Module
{
  public function MainModule()
  {
    $this->Init();
  }

  public function parse()
  {
    $this->theme->assign( 'TITLE', 'hello world' );
    $this->theme->assign( 'BODY', 'hello whos world' );
    $this->theme->display( 'index.tpl' );
  }

}

$module_obj = new MainModule;

?>
